package com.wandian.news.bean;

import java.util.List;

/**
 * @Author: cl
 * @CreateDate: 2020/12/3 18:18
 * @UpdateRemark:
 */
public class LifeBodyBean {

    /**
     * msg : success
     * code : 200
     * newslist : [{"normbmi":"18.5~23.9","healthy":"风险一般","tip":"哇，标准身材，请继续保持健康的作息方式。","idealweight":55.8,"normweight":"50.22~61.38","bmi":20.7}]
     */
    private String msg;
    private int code;
    private List<NewslistEntity> newslist;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setNewslist(List<NewslistEntity> newslist) {
        this.newslist = newslist;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public List<NewslistEntity> getNewslist() {
        return newslist;
    }

    public class NewslistEntity {
        /**
         * normbmi : 18.5~23.9
         * healthy : 风险一般
         * tip : 哇，标准身材，请继续保持健康的作息方式。
         * idealweight : 55.8
         * normweight : 50.22~61.38
         * bmi : 20.7
         */
        private String normbmi;
        private String healthy;
        private String tip;
        private double idealweight;
        private String normweight;
        private double bmi;

        public void setNormbmi(String normbmi) {
            this.normbmi = normbmi;
        }

        public void setHealthy(String healthy) {
            this.healthy = healthy;
        }

        public void setTip(String tip) {
            this.tip = tip;
        }

        public void setIdealweight(double idealweight) {
            this.idealweight = idealweight;
        }

        public void setNormweight(String normweight) {
            this.normweight = normweight;
        }

        public void setBmi(double bmi) {
            this.bmi = bmi;
        }

        public String getNormbmi() {
            return normbmi;
        }

        public String getHealthy() {
            return healthy;
        }

        public String getTip() {
            return tip;
        }

        public double getIdealweight() {
            return idealweight;
        }

        public String getNormweight() {
            return normweight;
        }

        public double getBmi() {
            return bmi;
        }
    }
}
